package breadfactory.workorder.dto;

public class OperationDTO {
	private String operationId;
	private String operationDesc;
	private int duration;
	
	public OperationDTO(){}
	
	public OperationDTO(String operationId, String operationDesc, int duration) {
		super();
		this.operationId = operationId;
		this.operationDesc = operationDesc;
		this.duration = duration;
	}

	/**
	 * @return the operationId
	 */
	public String getOperationId() {
		return operationId;
	}

	/**
	 * @param operationId the operationId to set
	 */
	public void setOperationId(String operationId) {
		this.operationId = operationId;
	}

	/**
	 * @return the operationDesc
	 */
	public String getOperationDesc() {
		return operationDesc;
	}

	/**
	 * @param operationDesc the operationDesc to set
	 */
	public void setOperationDesc(String operationDesc) {
		this.operationDesc = operationDesc;
	}

	/**
	 * @return the duration
	 */
	public int getDuration() {
		return duration;
	}

	/**
	 * @param duration the duration to set
	 */
	public void setDuration(int duration) {
		this.duration = duration;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "OperationDTO [operationId=" + operationId + ", operationDesc="
				+ operationDesc + ", duration=" + duration + "]";
	}
	
	
	
}
